package com.test.demo;

import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebDriver.Navigation;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;

import java.util.concurrent.TimeUnit;

public class Demo1 {
    public static void main(String[] args) {
        //初始化设置
        System.setProperty("webdriver.chrome.driver", "D:\\jl\\chromedriver.exe");
        WebDriver webDriver = new ChromeDriver();
        webDriver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
        //运行测试用例
        AutoTest autoTest = new AutoTest(webDriver);
//        autoTest.test0302();
//        autoTest.test0303();
//        autoTest.test0304();
//        autoTest.test0305();
//        autoTest.test0306();
//        autoTest.test0317();
        autoTest.calServerTimes();
    }
}
